.. _CSearchBitmap Class: ========================== CSearchBitmap Class ========================== .. toctree:: :maxdepth: 1 * :ref:`Overview` * :ref:`Quick Reference` * :ref:`Constructors` * :ref:`Methods` ---- .. _CSearchBitmap_Overview: Overview --------------- .. note:: The **CSearchBitmap** class handles The structure used for this class is :ref:`CSearchBitmap` ---- .. _CSearchBitmap_QuickRef: Quick Reference --------------- +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Quick Ref** | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:CSearchBitmap**\() | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:~CSearchBitmap**\() | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:AddDoor**\(:ref:`CPoint`\* pPoints, unsigned short nPoints, int bGate, int bOpaque) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:AddObject**\(:ref:`CPoint`\& point, unsigned char sourceSide, unsigned char personalSpaceRange, int bBumpable) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | unsigned char **CSearchBitmap\:\:CanToggleDoor**\(:ref:`CPoint`\* pPoints, unsigned short nPoints) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | unsigned char **CSearchBitmap\:\:GetCost**\(:ref:`CPoint`\& point, const unsigned char\* terrainTable, unsigned char snapshotPersonalSpace, short\& nTableIndex, int bCheckBump) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | unsigned char **CSearchBitmap\:\:GetLOSCost**\(:ref:`CPoint`\& point, const unsigned char\* terrainTable, short\& nTableIndex, unsigned char bVisibilityOutDoor) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | unsigned char **CSearchBitmap\:\:GetMobileCost**\(:ref:`CPoint`\& point, const unsigned char\* terrainTable, unsigned char snapshotPersonalSpace, int bCheckBump) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`CPoint` **CSearchBitmap\:\:GetNearestOpenSquare**\(:ref:`CPoint` cPoint, const unsigned char\* terrainTable, unsigned char snapshotPersonalSpace, short facing) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | short **CSearchBitmap\:\:GetStructureHeight**\(short nTableIndex) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | short **CSearchBitmap\:\:GetTableIndex**\(:ref:`CPoint`\& pt) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:Init**\(:ref:`CGameArea`\* pArea, :ref:`CString` szResRef) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:RemoveDoor**\(:ref:`CPoint`\* pPoints, unsigned short nPoints, int bGate, int bOpaque) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:RemoveObject**\(:ref:`CPoint`\& point, unsigned char sourceSide, unsigned char personalSpaceRange, int bBumpable) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:RenderDynamic**\() | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:RenderStatic**\() | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:SnapshotAddObjectDiagonals**\(:ref:`CPoint` point, unsigned char personalSpaceRange, int bBumpable) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | unsigned char **CSearchBitmap\:\:SnapshotGetCost**\(:ref:`CPoint` point, int bBump) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:SnapshotRemoveObject**\(:ref:`CPoint` point, unsigned char personalSpaceRange, int bBumpable) | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void **CSearchBitmap\:\:Uninit**\() | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ---- .. _CSearchBitmap_Constructors: Constructors --------------- +--------------------------------------------------------------------+------------------------------------------------------+ | **Name** | **Description** | +--------------------------------------------------------------------+------------------------------------------------------+ | :ref:`CSearchBitmap\:\:CSearchBitmap` | Constructs a ``CSearchBitmap`` object | +--------------------------------------------------------------------+------------------------------------------------------+ | :ref:`CSearchBitmap\:\:CSearchBitmap` | Destroys a ``CSearchBitmap`` object | +--------------------------------------------------------------------+------------------------------------------------------+ .. _CSearchBitmapCSearchBitmap: CSearchBitmap\:\:CSearchBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Constructs a ``CSearchBitmap`` object :: void CSearchBitmap::CSearchBitmap(); **Remarks** Constructs a ``CSearchBitmap`` object ---- .. _CSearchBitmap~CSearchBitmap: CSearchBitmap\:\:~CSearchBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Destroys the ``CSearchBitmap`` object :: virtual void CSearchBitmap::~CSearchBitmap(); **Remarks** Destroys the ``CSearchBitmap`` object ---- .. _CSearchBitmap_Methods: Methods --------------- +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | **Name** | **Description** | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:AddDoor` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:AddObject` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:CanToggleDoor` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetCost` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetLOSCost` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetMobileCost` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetNearestOpenSquare` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetStructureHeight` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:GetTableIndex` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:Init` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:RemoveDoor` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:RemoveObject` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:RenderDynamic` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:RenderStatic` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:SnapshotAddObjectDiagonals` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:SnapshotGetCost` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:SnapshotRemoveObject` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | :ref:`CSearchBitmap\:\:Uninit` | | +---------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ ---- .. _CSearchBitmapAddDoor: CSearchBitmap\:\:AddDoor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapAddObject: CSearchBitmap\:\:AddObject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapCanToggleDoor: CSearchBitmap\:\:CanToggleDoor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetCost: CSearchBitmap\:\:GetCost ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetLOSCost: CSearchBitmap\:\:GetLOSCost ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetMobileCost: CSearchBitmap\:\:GetMobileCost ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetNearestOpenSquare: CSearchBitmap\:\:GetNearestOpenSquare ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetStructureHeight: CSearchBitmap\:\:GetStructureHeight ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapGetTableIndex: CSearchBitmap\:\:GetTableIndex ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapInit: CSearchBitmap\:\:Init ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapRemoveDoor: CSearchBitmap\:\:RemoveDoor ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapRemoveObject: CSearchBitmap\:\:RemoveObject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapRenderDynamic: CSearchBitmap\:\:RenderDynamic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapRenderStatic: CSearchBitmap\:\:RenderStatic ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapSnapshotAddObjectDiagonals: CSearchBitmap\:\:SnapshotAddObjectDiagonals ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapSnapshotGetCost: CSearchBitmap\:\:SnapshotGetCost ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapSnapshotRemoveObject: CSearchBitmap\:\:SnapshotRemoveObject ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks** ---- .. _CSearchBitmapUninit: CSearchBitmap\:\:Uninit ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ :: x; **Parameters** * * - * * - * * - * * - **Return Value** Returns **Remarks**